﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Caliburn.PresentationFramework.ApplicationModel;
using Caliburn.Core.Metadata;
using XWord.Fundamental.Domain.Model;
using System.Collections;
using Caliburn.Core.Metadata;
using XWord.WPF.ApplicationFramework;
using XWord.Fundamental.Domain;
using XWord.Common;


namespace XWord.GUI.Presenters
{
    [Singleton(typeof(TranslatePresenter))]
    public class TranslatePresenter : Presenter
    {
        public TranslatePresenter()
        {
            
            TranslateList = BinaryFormatterHelper.Deserialize<IList<Translate>>(BinaryFiles.TranslateList).GroupBy(p => p.CreateTime);
        }

        public IEnumerable TranslateList { get; set; }
    }
}
